package com.ai.bitcoin.jpa.dao;

import com.ai.bitcoin.jpa.entity.BccUserBonusConfig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.ArrayList;
import java.util.List;

public interface BccUserBonusConfigDao extends JpaRepository<BccUserBonusConfig, String> {
    BccUserBonusConfig findByEventTypeCd(String eventTypeCd);

    List<BccUserBonusConfig> findByEventSourceCdInAndBonusTimesGreaterThanOrderByPriAsc(ArrayList<String> eventSourceCdList, int i);
}
